package com.song.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName : HelloController
 * @Author : 司猫子
 * @Date: 2021/2/28 22:37
 */
@Controller
public class HelloController {
    @Value("${hh}")
    private String hh;

    @RequestMapping("/hello")
    @ResponseBody
    public String hello(){
        return "hello properties"+hh;
    }
}
